﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <windows.h>
#include <winuser.h>


#include <QMainWindow>
#include <QKeyEvent>
#include <QDebug>
#include <QDateTime>
#include "Hook.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
private slots:
    void on_pushButton_clicked();
    void UpdateCapslockTip(int keyCode, bool downOrUp, bool aotu);
private:
    Ui::MainWindow *ui;
    Hook *m_pHook;
};
#endif // MAINWINDOW_H
